<?php
class User
{
    public static function getRole()
    {
         return (Zend_Auth::getInstance()->hasIdentity()) ? 'user' : 'guest';
    }
}